/**
 * Copyright &copy; 2012-2016 <a href="https://istep.lczyfz.com">Istep</a> All rights reserved.
 */
package com.lczyfz.istep.modules.scene.dao;

import com.lczyfz.istep.common.persistence.CrudDao;
import com.lczyfz.istep.common.persistence.annotation.MyBatisDao;
import com.lczyfz.istep.modules.scene.entity.SceneNetwork;
import com.lczyfz.istep.modules.scene.entity.SceneVmTemplate;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 网络管理DAO接口
 * @author dh
 * @version 2017-03-20
 */
@MyBatisDao
public interface SceneNetworkDao extends CrudDao<SceneNetwork> {
    List<SceneNetwork> getNetworkByName (SceneNetwork sceneNetwork);
    List<SceneNetwork> findNetworkListByEnvironmentId(@Param("DEL_FLAG_NORMAL")String DEL_FLAG_NORMAL,@Param("id")String id);
    List<SceneNetwork> findVmNetworkList(SceneVmTemplate sceneVmTemplate);
    List<SceneNetwork> findEnvironmentNetworkDetail(@Param("DEL_FLAG_NORMAL")String DEL_FLAG_NORMAL,@Param("id")String id);
}